<#include "module/head.ftl">
    <section class="main-container">
        <div class="headertop"> 
            <figure class="centerbg centerbgHei">
                <div class="focusinfo">
                    <h1 class="title" data-text="WSOLO">
                        WSOLO
                    </h1>
                </div>
            </figure>  
        </div>
        <!--  -->
        <div class="container">
            <h1 class="main-title">
                <svg aria-hidden="true" ><use xlink:href="#icon-leaf"></use></svg>
                Archives
            </h1>
            <#--  内容  -->
             <div class="archives">
                <@postTag method="archiveMonth">
                    <#assign year="">
                    <#list archives as archive>
                        <section class="arch-year">
                            <#if archive.year?c != year>
                                <h1 class="year-title bg-fff relative">${archive.year?c}</h1>
                                <#assign year="${archive.year?c}">
                            </#if>   
                            <div class="relative pl-12">
                                <header class="absolute mh-hd bg-fff af-bg-fff mh-bg "> ${archive.month!} 月</header>
                                <span class="">
                                <#list archive.posts?sort_by("createTime")?reverse as post>
                                    <a class="ah-hf ah-hv base-color" href="${post.fullPath!}">
                                        <span class="ah-dt">${post.createTime?string('MM-dd')}</span>
                                        <span class="ah-tt">${post.title!}</span>
                                    </a>
                                </#list>
                            </span>
                            </div>
                        </section>
                    </#list>
                </@postTag>
            </div>
            <#--  内容/  -->
        </div>



        <!--  -->
        <#include "module/slider.ftl">
           
        </div>
    </section>
 <#include "module/foot.ftl">